﻿@model orienta.Models.ORIMaeSolicitud
@{
    Layout = "";
    String clase = Model.ORIDetCompendio.vNomDetalle;
    String modalidad = Model.ORIDetCompendio3.vNomCorto;
    String programa = Model.ORIDetCompendio1.vNomCorto;
    String idioma = Model.ORIDetCompendio4.vNomDetalle;
    String tipoSolicitud = Model.ORIDetCompendio2.vNomDetalle;
}
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Constancia delTramite</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <link href="@Url.Content("~/css/orienta.css")" rel="stylesheet" type="text/css" />
</head>
<body style="background-color: white">
    <center>
        <div>
            <table width="100%" border="0" cellpadding="5" cellspacing="0">
                <tr>
                    <td>
                        <table width="100%" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse">
                            <tr>
                                <td width="18%">
                                    <table border="0" cellpadding="0" cellspacing="0">
                                        <tbody class="textNormal8">
                                            <tr>
                                                <td colspan="3">
                                                    <img src="../../images/logoMidis1.jpg" width="200px" height="40px" border="0">
                                                </td>
                                            </tr>
                                            <tr>
                                                <td width="10%">
                                                    Usuario
                                                </td>
                                                <td>
                                                    :
                                                </td>
                                                <td width="88%">
                                                    &nbsp;@User.Identity.Name.Split('@')[0]
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                                <td width="55%">
                                    <table width="100%" border="0" cellpadding="2" cellspacing="0">
                                        <tbody class="textBold8">
                                            <tr align="center">
                                                <td>
                                                    SISTEMA ORIENTA
                                                </td>
                                            </tr>
                                            <tr align="center">
                                                <td>
                                                    CONSTANCIA DE REGISTRO DE SOLICITUD
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                                <td width="27%">
                                    <img src="../../images/logoMidis2.jpg" width="124px" height="46px" border="0">
                                </td>
                            </tr>
                        </table>
                    </td>
                </tr>
                <tr>
                    <td>
                        <table width="100%" border="0" cellpadding="0" cellspacing="0">
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" align="center">
                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 570px;">
                                        <tbody class="textNormal9">
                                            <tr>
                                                <td>
                                                    <table border="0" cellpadding="0" cellspacing="0" style="width: 610px;">
                                                        <tr>
                                                            <td align="left">
                                                                <table border="1" class="tablaPrincipalSin" cellpadding="0" cellspacing="0" style="border-collapse: collapse;
                                                                    width: 150px;">
                                                                    <tbody class="textNormal9">
                                                                        <tr>
                                                                            <td>
                                                                                <b>Feha de Registro</b>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>@String.Format("{0:dd/MM/yyyy HH:mm}", Model.dtFecRegistro)
                                                                            </td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                            </td>
                                                            <td style="width: 300px;">
                                                                &nbsp;
                                                            </td>
                                                            <td align="right">
                                                                <table class="tablaPrincipalSin" border="1" cellpadding="0" cellspacing="0" style="border-collapse: collapse;
                                                                    width: 170px;">
                                                                    <tbody class="textNormal9">
                                                                        <tr>
                                                                            <td>
                                                                                <b>N&uacute;mero de Solicitud</b>
                                                                            </td>
                                                                        </tr>
                                                                        <tr>
                                                                            <td>@String.Format("{0:0000}", Model.nIdeDep)-@String.Format("{0:0000}", Model.nAnnSolicitud)-@clase.Substring(0, 3)-@String.Format("{0:000000}", Model.nNumCorrelativo)
                                                                            </td>
                                                                        </tr>
                                                                    </tbody>
                                                                </table>
                                                            </td>
                                                        </tr>
                                                    </table>
                                                </td>
                                            </tr>
                                            <tr>
                                                <td>&nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center">
                                                    <table class="tablaPrincipalSin" border="1" cellpadding="3" cellspacing="0" style="width: 610px;">
                                                        <tbody class="textNormal9">
                                                            <tr align="left">
                                                                <td>
                                                                    <b>Solicitante</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td nowrap="nowrap">@Model.ORIMaePersona.vPriNombre @Model.ORIMaePersona.vPriApellido
                                                                    @Model.ORIMaePersona.vSegApellido
                                                                </td>
                                                                <td>
                                                                    <b>DNI</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td>@Model.ORIMaePersona.vNumDocum
                                                                </td>
                                                            </tr>
                                                            <tr align="left">
                                                                <td>
                                                                    <b>Afectado</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td nowrap="nowrap">@Model.ORIMaePersona1.vPriNombre @Model.ORIMaePersona1.vPriApellido
                                                                    @Model.ORIMaePersona1.vSegApellido
                                                                </td>
                                                                <td>
                                                                    <b>DNI</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td>@Model.ORIMaePersona1.vNumDocum
                                                                </td>
                                                            </tr>
                                                            <tr align="left">
                                                                <td>
                                                                    <b>Clasificacion</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td colspan="4">@clase
                                                                </td>
                                                            </tr>
                                                            <tr align="left">
                                                                <td>
                                                                    <b>Tipo Solicitud</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td colspan="4">@tipoSolicitud
                                                                </td>
                                                            </tr>
                                                            <tr align="left">
                                                                <td>
                                                                    <b>Programa</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td>@programa
                                                                </td>
                                                                <td>
                                                                    <b>Modalidad</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td>@modalidad
                                                                </td>
                                                            </tr>
                                                            <tr align="left">
                                                                <td>
                                                                    <b>Sumilla</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td colspan="4">@Html.DisplayFor(model => model.vSumilla)
                                                                </td>
                                                            </tr>
                                                            <tr align="left">
                                                                <td nowrap>
                                                                    <b>Accion tomada</b>
                                                                </td>
                                                                <td>
                                                                    :
                                                                </td>
                                                                <td colspan="4">@Html.DisplayFor(model => model.vAccion)
                                                                </td>
                                                            </tr>
                                                        </tbody>
                                                    </table>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                            <tr>
                                <td colspan="3" align="center">
                                    <table class="tablaPrincipalSin" border="1" cellpadding="0" cellspacing="0" style="width: 610px;">
                                        <tbody class="textNormal9">
                                            <tr>
                                                <td align="center" style="height: 90px;">
                                                    &nbsp;
                                                </td>
                                            </tr>
                                            <tr>
                                                <td align="center" style="width: 250px;">
                                                    <b>FIRMA O HUELLA DIGITAL DEL SOLICITANTE O AFECTADO</b>
                                                </td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </td>
                            </tr>
                            <tr>
                                <td>
                                    &nbsp;
                                </td>
                            </tr>
                           
                        </table>
                    </td>
                </tr>
            </table>
        </div>
    </center>
</body>
<script language="javascript" type="text/javascript">
    var imprimir = '1';
    if (imprimir == '1') {
        window.print();
    }
</script>
</html>
